package com.chushouya.product.dto.admin.category;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@ApiModel("商品分类列表查询")
@Accessors(chain = true)
public class CategoryQuery {

    @ApiModelProperty("商品分类名字")
    private String categoryName;

    @ApiModelProperty("父级ID, when give 0 then return root category")
    private Long categoryParentId;

    @ApiModelProperty(value = "状态", hidden = true)
    private Integer status;

    private Long categoryId;

    private List<Long> categoryIdList;

}
